package com.lipaluma.field.mapper.mapping;

public class TargetPathInfo implements TargetMappingInfo {
	private String targetPath;
	private boolean presenceMandatory;
	
	public TargetPathInfo(String targetPath, boolean mandatoryPresence) {
		this.targetPath = targetPath;
		this.presenceMandatory = mandatoryPresence;
	}

	public TargetPathInfo(String targetPath) {
		this.targetPath = targetPath;
		this.presenceMandatory = false;
	}

	public String getTargetPath() {
		return targetPath;
	}
	
	public boolean isPresenceMandatory() {
		return presenceMandatory;
	}
}
